import java.util.Scanner;

public class qa {
    public static void main(String[] args) {
        double man = (177+165)*1.08/2;
        double woman = (177*0.923+165)/2;
        System.out.println("儿子的身高是"+man+" "+"女儿的身高是"+woman);


        int hongchayl = 21;
        int lvchayl = 24;
        int a = (hongchayl*2+3);
        int b = (lvchayl*2);
        if (a==b){
            System.out.println("正确");
        }else{
            System.out.println("错误");
        }


        int yu = 24;
        int hua = 8;
        int mi = 3;

        double zheko = (24+8+3)*0.8;
        double youhu = (16+8+3);

        if (zheko > youhu){
            System.out.println("最少要花"+zheko+"元");
        }else{
            System.out.println("最少要花"+youhu+"元");
        }
    }
}
